package com.woniuxy.boss.bossassembly.service;

import com.woniu.form.MessageForm;
import com.woniuxy.boss.bossassembly.model.BaMessage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 消息表 服务类
 * </p>
 *
 * @author HDC
 * @since 2021-05-24
 */
public interface IBaMessageService extends IService<BaMessage> {
    //新增消息
    Integer addMessage(MessageForm messageForm);
    //审核消息
    Integer updateMessage(Integer messageId,String examine);
    //查询所有消息
    List<BaMessage> getMessage(String examine);
}
